<%--
    author:xuzm
    date:20180419
    
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<link type="text/css" rel="stylesheet" href="css/drawing/drawingTransfer.css"/>
<div class="modal-header">
    <button class="close" ng-click="back()">
        <span aria-hidden="true">×</span>
    </button>
    <h3 class="modal-title" id="modal-title">划款</h3>
</div>
<div class="modal-body" id="modal-body">
		 <form id="drawingTransferObjForm" name="drawingTransferObjForm" class="form-horizontal formTopSpacing memberFormLeftAlign">
		 		<input type="hidden" id="id" name="id" value="{{drawing.id}}" />
			    <input type="hidden" id="status" name="status" value="3" />
		        <div class="form-group">
		            <label class="col-sm-5 control-label">提现流水号:</label>
		            <div class="col-sm-4">
		                {{drawing.id}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">商户号:</label>
		            <div class="col-sm-4">
		                {{drawing.refId}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">商户名称:</label>
		            <div class="col-sm-4">
		               {{merchantInfo.name}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">提现币种:</label>
		            <div class="col-sm-4">
		                {{drawing.currency}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">提现金额:</label>
		            <div class="col-sm-4">
		                {{drawing.amount}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">划款金额:</label>
		            <div class="col-sm-4">
		                {{drawing.transferAmount}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">划款币种:</label>
		            <div class="col-sm-4">
		                {{drawing.transferCurrency}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">收款人:</label>
		            <div class="col-sm-4">
		                {{merchantSetting.bankOwner}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">收款银行:</label>
		            <div class="col-sm-4">
		                {{merchantSetting.bankName}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">收款账号:</label>
		            <div class="col-sm-4">
		                {{merchantSetting.bankAccount}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">申请人:</label>
		            <div class="col-sm-4">
		                {{drawing.applicant}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">申请时间:</label>
		            <div class="col-sm-4">
		                {{drawing.applicationTime | date:'yyyy/MM/dd hh:mm'}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">审核人:</label>
		            <div class="col-sm-4">
		                {{drawing.auditor}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">审核时间:</label>
		            <div class="col-sm-4">
		                {{drawing.auditTime | date:'yyyy/MM/dd hh:mm'}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">划款人:</label>
		            <div class="col-sm-4">
		                {{drawing.transfer}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">划款时间:</label>
		            <div class="col-sm-4">
		                {{drawing.transferTime | date:'yyyy/MM/dd hh:mm'}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">状态:</label>
		            <div class="col-sm-4">
		                {{drawing.status | enumParamsFilter:[{2:"划款"}]}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label">备注:</label>
		            <div class="col-sm-4">
		                {{drawing.remark}}
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label" style="padding-top:7px;" >实际划款金额:</label>
		            <div class="col-sm-6">
		                <input type="text" id="realAmount" name="realAmount" tip="1" ng-focus="realAmountFocus()" ng-blur="realAmountBlur()" class="form-control col-sm-5" placeholder="必填且需为数字" />
		            </div>
		        </div>
		        <div class="form-group">
		            <label class="col-sm-5 control-label" style="padding-top:7px;">划款描述:</label>
		            <div class="col-sm-6">
		                <input type="text" id="remark" name="remark" tip="2" ng-focus="generalFocus($event)" class="form-control" placeholder="" />
		            </div>
		        </div>
		     </form>
	<div class="row padding-set">
        <div class="col-sm-12">
            <div class="center">
                <button class="btn btn-sm btn-primary general-btn" type="button" ng-disabled="updateIsDisabled || updateRealAmountIsDisabled || drawingTransferObjForm.realAmount.$invalid" ng-click="updateRealAmountRate()" >
                                                                        确定
                </button>
            </div>
        </div>
    </div>
</div>